import { Component, OnInit } from '@angular/core';

declare var form: any;

@Component({
  templateUrl: './build.flutter.html'
})
export class BuildFlutterComponent implements OnInit {
  fs: any = null;
  constructor() {
    this.fs = new form.FormTreeService('metadatadirectory', {
      orderObject: { order: 0 },
      keyField: 'id',
      randomFields: ['id'],
      pageSize: 1000,
      defaultQueryObject: { 'directoryType:in': '1,2' }
    });
    // 加载表单数据
    this.fs.loadData();
  }

  ngOnInit(): void {

  }
}
